package com.ktg.mes.rec.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktg.common.annotation.Excel;
import com.ktg.common.core.domain.BaseEntity;


/**
 * 加粉记录对象 rec_powdered_record
 *
 * @author byteco
 * @date 2022-10-31
 */

@Data
@Accessors(chain = true)
@TableName("rec_powdered_record")
public class RecPowderedRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 加粉记录id */
    @TableId(value = "powdered_id", type = IdType.AUTO)
    private Long powderedId;


    /** 车间 */
    @Excel(name = "车间")
    private String workshopId;


    /** 机台 工作站编号 */
    @Excel(name = "机台")
    private String machineId;


    /** 工序名称 */
    @Excel(name = "工序名称")
    private String processName;


    /** 桶编号 */
    @Excel(name = "桶编号")
    private String toolTypeCode;


    /** 桶名称 */
    @Excel(name = "桶名称")
    private String toolTypeName;


    /** 型号 */
    @Excel(name = "型号")
    private String specification;


    /** 任务名称（工作站-任务名称） */
    @Excel(name = "任务名称", readConverterExp = "工=作站-任务名称")
    private String taskName;


    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;


    /** 时长 */
    @Excel(name = "时长")
    private String duration;

    /** 任务id */
    private Long taskId;

    /** 排产任务id */
    private Long workorderId;





}
